package chujisuanfa;

public class Pow {

    public double myPow(double x, int n) {
        if(n==0||x==1) return 1;
        int i=1;
        double t=x;
        if(n%2==0){ return myPow(x*x,n>>2);}
        else{ return myPow(x*x*x,n>>2);}
    }

    public static void main(String[] args) {
        Pow pow = new Pow();
        System.out.println(pow.myPow(2.0,213334));
    }
}
